Chemical, electrochemical, and quantum investigation into the use of an organophosphorus derivative to inhibit copper corrosion in acidic environments

In order to protect the copper against corrosion, a novel corrosion inhibitor known as diphenyl ((2-aminoethyl) amino) (4-methoxyphenyl) methyl) phosphonate (DAMP) was developed. Acid solutions of HCl and H2SO4 were the aggressive solutions employed in this study. Analysis using the FT-IR, 1H-NMR, 31P-NMR, 13C-NMR and BET confirmed that the DAMP was successfully synthesized. The anti-corrosion capabilities of DAMP are evaluated using a combination of chemical, electrochemical and quantum studies. The DAMP has been found to be crucial in preventing the corrosion of copper in both HCl and H2SO4 acid. This was obviously implied by the observation that the corrosion rate of copper in acid solutions decreased when DAMP was added. It is significant to note that 180 ppm produced the highest levels of inhibiting efficiency (96.6% for HCl and 95.2% for H2SO4). The tendency of DAMP to adsorb on the surface of copper through its hetero-atoms (O, N, and P) is the main factor for the anti-corrosion capabilities of DAMP. Results from SEM/EDX tests supported this. The actual adsorption takes place via various active centers, physical and chemical mechanisms that are coordinated with the estimated quantum parameters. Additionally, the adsorption of DAMP adheres to the Langmuir isotherm.

A common method for reducing or preventing the rate of corrosion of metallic substrate in acidic conditions is the use of corrosion inhibitors [9][10][11][12][13] .These are chemicals that, when added to corrosive medium in modest quantities reduce or stop the reaction of metal with the media.Organic or inorganic materials are also possible 14 .The organic counterpart has properties like hetero atoms and/or double bonds, a large area of surface, a charged center, etc. this, upon adsorption on the metal surface, will cover a significant portion of the metal with that facilitate film-forming on the metal surfaces and subsequently isolate it from the corrosive ions that are present in the environment [15][16][17][18][19][20][21][22][23] It is generally known that a good corrosion inhibitor must work effectively even at small dosages.Due to their resistance to microbial destruction, low toxicity, action in watery environments, and stability against degradation, phosphonates are useful and fascinating inhibitors 24,25 .sp 3 hybridized nitrogen atoms in these compounds boost the inhibitory effect 25 .Many phosphorus compounds, such as phosphonic acids 26 , aminomethylene phosphonates 27 , pyrazine derivatives 28 , and α-aminophosphonate 29 , as well as nitrogen-containing molecules, such as imidazolines, amides, and amidoamines 30 , are used as corrosion inhibitors.2][33][34] .
The geometric and electrical molecular structure of a molecule affects how successful it is in a chemical process 35 .The ideal way in which the inhibitor might cover the metal surface is related to the geometry of the molecule, which subsequently has a significant impact on the adsorption of the inhibitor on the metal surface.
The key quantum properties of the evaluated inhibitors are investigated using a variety of theoretical techniques.Density functional theory (DFT) is a quantum mechanical computation that is frequently used to evaluate experimental data and determine structural characteristics for even extremely complex molecules.
The first objective of this work is synthesis of a novel DAMP compound throw an easy, economical way and high yield.This compound is prepared using a one-pot synthesis procedure and direct reaction of ethylene diamine with anisaldehyde and triphenylphosphite.The structural and functional characteristics of DAMP is investigated by FT-IR, 1 H-NMR, 13 C-NMR, 31 P-NMR, and BET.The Second objective of this work is to evaluate the inhibitory action of DAMP against the corrosion of copper in 1 M sulfuric and hydrochloric acid solutions.During this study chemical and electrochemical methods were used.These methods consist of determining the corrosion rate and inhibition efficiency.The state of inhibitor adsorption is monitored by studying the concentration, immersion time and temperature effects.Characterization techniques, namely scanning electron microscopy (SEM) coupled to energy dispersive X-ray spectrometry (EDX), Fourier transform infrared (FT-IR) were performed to describe the morphology and the surface roughness of the examined copper samples when they are inhibited and uninhibited.Additionally, theoretical simulations made with DFT are used to show how the electronic structure of the inhibitor and its corrosion behavior are related.
According to studies on the toxicity impact of corrosion inhibitors, α-aminophosphonates have little toxicity to human cells due to their structural resemblance to natural α-amino acids 36,37.

Experimental Chemicals and materials
The following ingredients were supplied by Sigma-Aldrich (Saint-Louis, MS, USA): anisaldehyde, ethylenediamine, and triphenylphosphite.Lithium perchlorate and acetonitrile were purchased from Fluka AG in Buchs, Switzerland.Without any purification, all reagents were used just as they were delivered.
The 99.99% copper samples (size = 2 cm × 3 cm × 0.1 cm) and cylinder rod with circular cross section (area = 1.0 cm 2 ) were used to calculate the corrosion rate in chemical and electrochemical tests, respectively.The samples were repeatedly polished with fine-grade emery paper, cleaned with acetone, washed with doublydistilled water, and then dried.
Commercial hydrochloric and sulfuric acid solutions from Sigma Aldrich, each having a concentration of 34% and 96%, were employed as the acid solutions.The analytical HCl, H 2 SO 4 stock was diluted with distilled water to create the test solutions with a 1.0 M concentration.Inhibitor stock solution was prepared from synthesized DAMP inhibitor.The DAMP inhibitor was dissolved in 1.0 M solutions of hydrochloric and sulfuric acids.The compound dissolves easily in the acid solutions without further using of organic solvents.As a result of the presence of an amine group, this allows the formation of a salt with the acid, which facilitates the dissolution process.The working solutions were prepared by appropriate dilution of the stock solution immediately prior to use.

DAMP compound synthesis and characterization
The following were dissolved in CH 3 CN (5 ml): anisaldehyde (1 mmol), ethylenediamine (1 mmol), and triphenylphosphite (1 mmol).Before adding the Lewis acid catalyst (LiClO 4 , 20 mg), the mixture was agitated at room temperature for 10 min.The solution was stirred until the TLC confirmed that the reaction was finished.The desired diphenyl (((2-aminoethyl) amino) (4-methoxyphenyl) methyl) phosphonate (DAMP) was made by air-drying the final product after they had been filtered and collected with high yield (93%).The materials were purified by dissolving the as-prepared solid in chloroform or methanol and then recrystallizing them.Before use, the dry powders were lastly kept in a desiccator.
A JEOL ECA-500II spectrometer is used to measure 1 H-NMR and 13 C-NMR (solvent DMSO-d6) at 500 MHz and 100 MHz, respectively.Chemical alterations that is ppm-proportional to the solvent that is connected.A BRUKER spectrometer (Japan) is used to detect 31 P-NMR spectra at 162 MHz in DMSO-d6.The surface area was calculated using N 2 -adsorption-desorption isotherms recorded on a Quanta Chrome Nova 3200 instrument (Boynton Beach, FL, USA) under a degassing temperature of 60 °C for 3 h.The pore volume was calculated using the BJH method. www.nature.com/scientificreports/

Weight loss and electrochemical measurements
Weight loss is the most popular and straightforward approach for determining how effectively corrosion is inhibited.Corrosion alters a variety of attributes, including mass, electrical resistance, magnetic flux, and mechanical qualities.The method of utilizing a weight loss coupon to assess corrosion damage is highly helpful for monitoring corrosion as well as for looking into environmental conditions that cannot be replicated in a lab.Undeniably, using this process to determine the corrosion inhibition efficacy is helpful.In this low-cost method, tiny samples are submerged in corrosive fluid for a specific period of time before being removed.The distinction between the mass before and after immersion is crucial.Copper samples were weighed and then submerged for 24 h in 100 ml of 1.0 M HCl and H 2 SO 4 solutions with various doses of DAMP.Samples were taken at the end of the procedure, cleaned with distilled water, and dried.In this method, we averaged three trial measurements using a Mettler H35AR digital analytical balance.The following relation was used to determine the rate of corrosion (C R ) 37,38 .
where, W: the average weight loss and, A: total surface area of copper samples, and t is the period of the immersion.
The following equation was used to compute the DAMP inhibitor's inhibition efficiency (E W %) in the applied aggressive solutions: where C R0 and C R : the corrosion rate of copper without and with DAMP inhibitor, respectively.
The electrochemical processes were carried out using a standard glass cell with three electrodes.A sizable platinum sheet served as the counter electrode and a saturated calomel electrode (SCE) served as the reference electrode.The open-circuit potential was collected for 30 min to reach a steady state potential prior to the electrochemical tests 39 .The potentiodynamic polarization (PP) scan was typically captured by varying the potential between + 0.250 and −0.250 V (vs.OCP) with scan rate 0.125 mV/s.Electrochemical impedance spectroscopy (EIS) tests were performed at an open circuit potential with a voltage amplitude of 10 mV and frequencies ranging from 0.01 to 100 kHz.

Theoretical calculations
Using the software HyberChem 8.0.10, quantum computations of the under-investigation molecule were carried out in a vacuum.The investigated DAMP molecule is geometrically optimized (see Table 1) before starting the calculation and the total energy found to be (E Total = −109,351 kcal/mol).All calculated parameters are obtained using DFT/B3LYP and basis set of 6-31G and applying the Unrestricted Hartree-Fock (UHF).

Surface characterization
SEM-EDX microanalysis detectors (series: 1200 EX II electron microscope: JEOL-JEM) were used to determine the surface condition of a copper sample that had been submerged for 24 h in 1 M HCl and H 2 SO 4 solutions without and with inhibitor.These investigations provided information on the surface shape and elemental makeup of the species that had developed on the metal surface.Using a Fourier Transform Infrared FT-IR spectrometer, we looked at the chemical make-up of the inhibitor and the sample surface when it was exposed to the inhibitor.FT-IR spectra are captured using a Thermo-Fisher Nicolet IS10 (Waltham, MA, USA) spectrometer in the 4000-400 cm −1 region. (1) Table 1.Quantum descriptors for the DAMP molecule.

Synthesis of new DAMP inhibitor
Figure 1 illustrates the synthesis route for the preparation of DAMP.This simple one-port reaction occurs between amine compound (ethylene diamine) and both anislaldehyde and triphenylphosphite; LiClO 4 is used as the catalyst for the conversion into inhibitor.Scheme S1 (see Additional Material Section) shows the suggested mechanism for the molecular interactions between the reagents for producing the DAMP inhibitor.The first step consists of the formation of an imine-intermediate, followed by the attack of this intermediate by nucleophilic phosphite (leading to the formation of phosphonium ion).This reaction is catalyzed by the presence of the Lewis acid catalyst (i.e., LiClO 4 ).Herein, the reaction was carried out in polar aprotic solvent such as acetonitrile (CH 3 CN) with reactants bearing polar groups and non-polar ones and all dissolved well to form a homogenous solution.Once the product starts to form (after the addition of the catalyst) the hydrophilicity decreases; indeed, the synthesized product becomes progressively hydrophobic and begins to precipitate from the solvent phase.In the last step of the process, the reaction of phosphonium intermediates with water promotes the elimination of phenol and the formation of the relevant α-aminophosphonate with a yield 93%.
The appearance of a singlet peak at = 22.02 ppm in the 31 P-NMR spectrum (Fig. S2), which is present in the DMSO, 162.0 MHz, verifies the presence of the phosphonate moiety linked with the (P-O) signal.

Textural analysis (BET) studies
The nitrogen adsorption-desorption isotherms were used to calculate the accurate surface areas, pore volume, and pore diameter for the synthesized DAMP inhibitor (Fig. 2).The isotherm profile has the type II in Langmuir types.Figure 2 shows that the DAMP compound has a surface area of 9.07 m 2 /g, a pore volume of 0.13 cm 3 /g, and a pore size of 56.49 nm.

Weight loss measurements
Copper sample corrosion rates were assessed using weight loss measurements in both acid solutions with varying concentrations of the DAMP inhibitor.It can be calculated using the fluctuation in weight per unit surface area and time.This phrase is suitable when discussing uniform and universal corrosion processes.Figure 3 depicts the variation in corrosion rate in 1 M HCl and 1 M H 2 SO 4 in the presence and absence of different doses of the DAMP.It is evident that in every example studied at the corrosion rates decrease as the DAMP concentration increases.According to this, the DAMP reduces the rate of copper corrosion in both acids.The amount of inhibition depends on the DAMP chemical concentration and the properties of the corrosive media.The protective efficacy E W % of the DAMP in both acid solutions was calculated using Eq. ( 2).Table 2 presents and lists the outcomes.The E W % increases with concentration until the optimal DAMP concentration is reached at 180 ppm for HCl and H 2 SO 4 .This outcome is caused by the fact that the amount of inhibitor that is adsorbs and covers the copper surface increases as inhibitor concentration rises (see Fig. 3 and Table 2).
Figure 4 represents the change of corrosion rates with respect to time (1-7 days) for copper samples in 1 M HCl acid solution and without 180 ppm of the DAMP.It is clear that over time the rate of corrosion increases in    both cases, but in the absence of the DAMP, the rate of corrosion is much greater.This confirms the importance of the DAMP in reducing the severity of corrosion.It is also obvious that the E W % decrease from 96.6% after immersion copper in 1 M HCl solution for 24 h to 85.4% after 168 h (7 days).

Electrochemistry measurements
After 30 min of testing the open circuit potential (OCP) values for copper in acid solutions with and without DAMP, the resulting curves are displayed in Fig. 5. Figure 5a,b demonstrates that when the DAMP content increases, the open-circuit potential comes more negative, indicating that the DAMP can effectively minimize the cathode response.Figure 6 depicts the Tafel curves for copper-immersed 1.0 M HCl and 1.0 M H 2 SO 4 solutions with and without DAMP.The Tafel plots were used to estimate the polarization parameters (i corr corrosion current density, E corr corrosion potential, b a and b c Tafel slopes), and the inhibition efficiency (E p %) was computed using Eq. ( 3); their values are reported in Table 3 [39][40][41] .
where i corr(0) is recoded in blank solution.
In every instance, increasing the concentration of the DAMP causes the i corr values to fall.We observed that the E corr values change slightly with DAMP concentrations.With regard to E corr in blank solution, the maximum shifting is less than > 85 mV.The DAMP is a mixed type inhibitor, according to this.The fact that the DAMP changes both b a and b c indicates that it affects the processes of both cathodic and anodic responses.Even at low DAMP doses, the corrosion inhibition is apparent.The increase in DAMP concentration is directly proportional to E p % values.The maximum E p % was obtained at 160 ppm in the case of 1.0 M HCl (i.e., 96.2%) and at 180 ppm  www.nature.com/scientificreports/ in the case of 1.0 M H 2 SO 4 (i.e., 92.6%) (Table 3).This data is highly compatible with the weight loss measurements.No discernible changes in inhibition % values appear to have been found, regardless of the approaches employed.It was discovered that the inhibition percentages acquired by weight loss measurements were a little bit greater than those obtained through polarization measurements.This is because while employing the weight loss approach, the copper surface is exposed to the DAMP for a longer amount of time 42,43 .DAMP is organic compound that possess excellent anti-corrosion properties, particularly in acidic environments.The main mechanism of its anti-corrosion action in acid can be attributed to their ability to form a protective sheet on the copper surface.Here are the key mechanisms involved:  www.nature.com/scientificreports/Adsorption: DAMP has a high affinity for copper surfaces.When introduced into an acidic environment, this compound undergoes adsorption onto the copper surface.The adsorption occurs through chemical interactions between the DAMP molecules and the copper surface, such as coordination bonds or chemical reactions at the copper interface.
Formation of a defending film: Once adsorbed on the copper surface, DAMP undergoes chemical reactions with copper ions or protons present in the acidic environment.These reactions lead to the formation of a protective film or layer on the copper surface.The film acts as a barrier between the copper and the corrosive environment, preventing direct contact and inhibiting the corrosion process.
Passivation: The protective film formed by DAMP acts as a passivating layer.It inhibits the electrochemical reactions that drive corrosion, such as copper dissolution and the reduction of oxygen or other corrosive species.The passivating film impedes the movement of corrosive agents towards the copper surface, reducing the rate of corrosion.
Figure 7 depicts the EIS curves (Nyquist) for copper-immersed 1.0 M HCl (Fig. 7a) and 1.0 M H 2 SO 4 (Fig. 7b) solutions with and without DAMP.The figure shows that incorporating the DAMP to 1.0 M HCl and 1.0 M H 2 SO 4 solutions expanded the width of the Nyquist curve, indicating an increase in charge transfer resistance.The resulting graphs were analyzed and simulated using the recommended circuit, which is shown in Fig. 7a.R ct symbolizes the charge transfer resistance, R s symbolizes the solution resistance, and the constant phase element (Q dl ) substitutes for the ideal capacitor.Table 4 presents the effect of DAMP concentration on the EIS parameters for copper 1.0 M HCl and 1.0 M H 2 SO 4 .The very low goodness of fit (χ 2 ) readings in Table 4 supports the validity of the fitting approaches.It is discovered that increasing DAMP concentration causes an increase in R ct and a decrease in Q dl , which is due to DAMP inhibitor adsorption on copper surface."n" denotes the surface roughness coefficient.With n = 1, the Q dl functions as a pure capacitor.
The inhibition effectiveness (η R %) was determined employing the corresponding equation: where R cto is recoded in blank solution.
EIS measurements yield similar percentage corrosion suppression efficiency as polarization and weight loss measures (Table 4).
The extracted results from studies conducted on corrosion inhibition behavior of different organic compounds and their derivatives such as azoles, amines, amino acids, and many others used for protection of copper in phosphoric and hydrochloric acids solutions are given in Table S1.As can be seen in Table S1, [44][45][46][47][48][49][50][51][52][53] DAMP inhibitor is one of the highest corrosion inhibition efficiencies, even using small concentrations of it.It is also an easy and novel compound to prepare with a high yield and economic method through a one pot three component reaction at room temperature without the need to use heat.It dissolves easily in acidic media without the need to use other organic solvents.

Computational studies
The quantum chemical parameters extracted from the output file such as E H (the energy of the highest occupied molecular orbit) and E (the energy of the lowest unoccupied molecular orbit), the global hardness (η), softness (σ), and the energy of back-donnation (ΔE b-d ) (see Table 1).Concerning Table 1, the high negative value of E H and slight negative value of E L declare that the investigated molecules not only have great ability for electron donation to the vacant d orbital of Cu but can also accept electron from the metal surface.In addition, the donation and  [54][55][56][57] .Figure 8 shows the HOMO and LUMO of DAMP inhibitor.According to various researches [58][59][60] , the displacement of water molecules allows the inhibitors to form a protective layer on the metal surface, as all inhibitors have higher dipole moments compared to water (1.8 Debyes) preventing corrosion.Additionally, the strong interaction between the high dipole inhibitors and the metal surface enhances their ability to adsorb onto the surface, further enhancing their inhibition efficiency.
The hardness and softness of the molecule is another important parameter that describe the reactivity of the examined molecule 61 .Lower value of η and higher value of σ indicating the lower deformation resistance of the e's cloud of the atoms and hence higher reactivity of the molecule.The electron density distribution in the inhibitors has a significant impact on how the inhibitor interacts with the surface of copper.Strong adsorption of the molecule on the metal surface would arise from regions of the molecule with high electron densities preferentially donating electrons to Cu.As clear from Fig. 9a, the electron are distributed over the most molecule which mean that the adsorption of the molecule from different active sites resulting excellent protection.Figure 9b shows the charge of each atom in the molecule; negatively charged atoms possess the great donation ability to the metal surface.

Effect of temperature and thermodynamic study
In studying the corrosion phenomenon, temperature is generally a crucial factor.Because the reaction solution/ metal is prevented by the temperature increase.As a result, it is possible to think about the type of inhibitor that binds to the metal surface and determine whether the inhibitor remains stable as the temperature rises 62 .
The impact of temperature on the efficacy of DAMP as a corrosion inhibitor is investigated using weight loss measurements on copper corrosion in the range of 298-328 k in the 1.0 M HCl and H 2 SO 4 solutions in addition to and without the inhibitor for 24 h of immersion.The information regarding corrosion rate and inhibition efficiency is shown in Table 5.The findings show that when the temperature rises, copper corrosion rates in acid solutions both inhibited and uninhibited increase.Higher temperatures generally accelerate chemical reactions,   www.nature.com/scientificreports/including the corrosion process.Increasing the temperature shifted the adsorption-desorption balance towards desorption on the Cu surface 63 .The steady decline in inhibitory effectiveness as temperature rises (298, 308, 318, and 328 K) points to a physisorption process.Although the difference was not very noticeable, it does show that the inhibitor is stable at higher temperatures.Even at higher temperatures, the DAMP molecule is a potent inhibitor.Adsorption of inhibitor on metal surface occurs by two paths by either physisorption or chemisorption.Physisorption involves electrostatic force of interaction between ionic charges at the metal and the solution interface.Physisorption is relatively stable at low temperatures since the heat of adsorption is low.On the other hand, chemisorption involves charge transfer from the inhibitor molecules to the metal surface through a coordinate bond which is more stable type of adsorption than physisorption even at high temperatures so the inhibition efficiency only decreased from (96.4% to 85%) and (95.4% to 82.6%) for HCl and H 2 SO 4 respectively at 328 K.It was possible to determine additional parameters, such as the activation energy (E a ), the standard enthalpy (ΔH * ), and the entropy (ΔS * ) of the reaction, to explain the corrosion process as well as the potential mechanism of inhibitor adsorption, through analysis of the plotting of the corrosion rate as a function of temperature.The thermodynamic parameters for copper corrosion in HCl and H 2 SO 4 solutions in the absence and presence of DAMP were calculated using the Arrhenius and Eyring-Polanyi calculations 64,65 .
where E a apparent activation energy, λ the pre-exponential factor, ΔH * the apparent enthalpy of activation, ΔS * the apparent entropy of activation, h the Planck's constant, N the Avogadro number, R the universal gas constant and T the thermodynamic temperature.
A straight line with a slope of E a /2.303R was produced by plotting the log C R vs. 1/T.This result is presented in (Fig. 10a).Table 6 provides the activation energy values.The information demonstrates that the activation energy E a of copper corrosion in HCl and H 2 SO 4 solutions with DAMP is greater than that of the control solution.Increased DAMP molecule adsorption on the metal surface could explain the rise in the apparent activation energy for copper corrosion in inhibited acid solutions 66 .
Plotting log (C R /T) vs. 1/T resulted in a straight line with (H * /2.303R) for the slope and (log R/Nh + S * /2.303R) for the intercept, as shown in (Fig. 10b).Table 6 lists the values for H * and S * that were determined from the slope and the intercept.The process of dissolving copper is endothermic, as indicated by the positive sign of enthalpies  www.nature.com/scientificreports/(H * ).Additionally, the values for H * are higher in the presence of the inhibitor than they are in the uninhibited solution.This implies that the energy required for copper to dissolve in acidic solutions increases when a DAMP inhibitor is present.This indicates that it is challenging to dissolve copper in acid solutions when DAMP is present.Adding DAMP inhibitor results in a large positive entropy shift (ΔS*), indicating a transition to an ordered system 67 .This implies that transitioning from reactants to activated complex results in a decrease in disordering because the activated complex indicates association rather than dissociation in the rate-determining stage 68 .

Adsorption isotherm
By fitting the existing data, several mathematical correlations for the adsorption isotherms have been developed.The general Langmuir isotherm is shown in Eq. s7 ,70 : Where C inh is the DAMP concentration, K ads is the equilibrium constant of the adsorption reaction, and θ is the extent of metal surface coverage.Weight loss data were used to calculate the amount of metal surface covered using the relationship shown below: According to Fig. 11, the best fit was found by the Langmuir isotherm.Regression coefficients (R 2 ) practically equal to unity and the ability to draw straight lines from the graphic demonstrate how well the data fit the Langmuir adsorption isotherm.Other isotherm models with their linear regression (R 2 ) are shown in Table S2.
The values of K ads derived using the Langmuir adsorption isotherm for HCl and H 2 SO 4 solutions (13,184 M −1 ) and (9064 M −1 ), respectively.A high K ads value indicates higher DAMP indicator adsorption on the surface of copper.
To determine whether an adsorption process is spontaneous or not, thermodynamic considerations are required.The primary criterion for spontaneity is the standard Gibbs energy of adsorption (ΔG ads ).The relationship between ΔG ads and the equilibrium constant of adsorption is widely recognized (see Eq. 9) 71 .
where T: the absolute temperature, R: the universal gas constant (8.314J K −1 mol −1 ).For solutions of HCl and H 2 SO 4 , the computed average ΔG ads values are -33.4 and -32.5 kJ mol −1 , respectively.This implies the existence of both physisorption and chemisorption mechanisms.The negative values of ΔG ads for the DAMP inhibitor's adsorption on copper reflect the stability and spontaneity of adsorption processes 72 .

FT-IR analysis
The copper surface was subjected to FT-IR analysis following polarization in the corrosive environment (1.0 M HCl, H 2 SO 4 ) containing 200 ppm DAMP in order to further demonstrate that DAMP protects the copper surface via an adsorption mechanism.Figure 12 displays the acquired spectrum in comparison to the pure DAMP.Important pure DAMP peaks may be detected in Fig. 12a thanks to the broad band that corresponds to (NH 2 ) at 3441 cm −1 .the C-H aromatic peak at 3017 cm −1 .The C-H Alkane gas is shown by the peak at 2859 cm −1 .The ( 7) www.nature.com/scientificreports/stretching of the aromatic ring (C = C-Ar) was related to the peak at 1594 cm −1 .In addition, P = O, P-O-C, and P-CH, respectively, are responsible for the three peaks at 1247 cm −1 , 1045 cm −1 , and 759 cm −1 .After the corrosion in the presence of the inhibitor, these peaks are likewise seen, albeit less intensely Fig. 12b.The AMDP compound was eventually confirmed to have been adsorbed using the N, O, and P heteroatoms and the pi electron in the C = C group of the aromatic ring by the observed peaks.

SEM observation and EDX analysis
The morphological characteristics of metal surface are frequently studied using SEM.Utilising SEM, the surface morphology of a copper sample immersed in 1.0 M HCl and 1.0 M H 2 SO for 24 h was examined when 180 ppm of DAMP was present.The outcomes of the experiment are shown in Fig. 13.Without DAMP, the copper specimen in the corrosive solution is severely corroded by the acidic solutions (Fig. 13a,c), resulting in the appearance of crystalline aggregates of the by-products of corrosion on the surface as well as a porous and rough outer layer.As a result of the metal's dissolution, corrosion products produced by the attack of chloride and sulfate ions severely harm the surface 73,74 .In contrast, there is significantly less damage to the copper surface when the DAMP is present (Fig. 13b,d), which supports the inhibition activity.Therefore, it may be said that the DAMP has strong copper corrosion preventing capacity.The application of a protective coating to a metal surface to stop corrosion products from forming can be used to explain these outcomes.This results from the active molecules in the DAMP adhering to surfaces.The elements on the copper surface after 24 h of immersion in 1 M HCl, H 2 SO 4 without and with 180 ppm DAMP were identified using EDX spectra, as shown in Fig. 14, in order to learn more about the surface composition of the copper sample with and without the DAMP in 1.0 M HCl and 1 M H 2 SO 4 solutions.Table 7 lists the mass percentages of the various elements that make up the sample both with and without the DAMP.
Prior to being exposed to the acid solutions, the pure surface of a copper sample was shown in Fig. 14a, and a mass composition of 99.01% for copper was obtained.Remaining components like O and C with ratios of 0.71% and 0.22%, respectively, were seen as a result of the surface pollution.With no DAMP inhibitor present, the  7 demonstrates how the copper peak's intensity decreased in HCl and H 2 SO 4 (72.58,54.34% Cu, respectively), how a characteristic chlorine peak appeared (1.8% Cl), how a characteristic sulfur peak appeared (3.76%S), and how the oxygen peak's intensity increased in HCl and H 2 SO 4 mediums compared to virgin copper.The latter verifies that the crystalline aggregates, a corrosion product, formed on the metal surface.
The intensity peaks for Cl, S, and O are less prominent in the spectrum when DAMP inhibitor is present (Fig. 14c,e).The proportion of copper is larger than when copper is attacked without an inhibitor, as seen in Table 7.Additionally, the presence of phosphorus, nitrogen and oxygen signals on the metal surface that is inhibited suggests that the active chemical compounds that make up the DAMP compound have been adsorbed on the Cu surface by a synergistic action, which explains why the inhibition efficiency has increased (E a % = 96%).This demonstrates that the DAMP inhibitor's inclusion lessens copper corrosion given the presence of aromatic rings, phosphorus, and amino groups, which make it easier for the tested molecule to bind to the surface and provide good corrosion resistance, these results are not surprising.The results of the outermost characterization analysis are consistent with the electrochemical and weight loss test results.The FT-IR, SEM analysis, and experimental results are all in good accord with the EDX analysis.

Inhibition mechanism of DAMP
The inhibition performance of an inhibitor is related to its adsorption ability on the interface of the metal.This adsorptive interaction leads to the formation of a protective layer onto the metal surface that protects the metal from corrosion [75][76][77][78] .According to Fig. 15 the adsorption process of DAMP on metal's surface (with positive charge) may occur by the presence of heteroatoms such as nitrogen, oxygen, and phosphorous in the DAMP compound.These heteroatoms improve its adsorption process on a metal surface.The adsorption of the DAMP molecules forms a protective layer that inhibits or slows down the corrosion process.The presence of conjugated bonds and π-electrons in DAMP can influence its adsorption behavior and effectiveness.The aromatic rings and conjugated  systems provide additional electron density and delocalization, which can enhance the adsorption strength and stability of the DAMP on the copper surface.

Conclusion
1.The current work proposed the use of organophosphorus derivative (DAMP) as a new copper corrosion inhibitor for both sulfuric and hydrochloric acid solutions.2. FT-IR, 1 H NMR, 31 P NMR, 13 C NMR, and BET studies were used to characterize the molecular structure of DAMP 3. It has been discovered that the DAMP inhibitor material significantly reduces copper corrosion in both HCl and H 2 SO 4 acids.4. At 180 ppm, the highest levels of inhibition (96.2% for HCl and 92.6% for H 2 SO 4 ) were produced.5. SEM and EDX results revealed that DAMP compound inhibitory layers had been deposited on the copper slides surfaces, which contributed to their outstanding anticorrosion performance.6.The adsorption of the DAMP inhibitor is categorized in great depth using the Langmuir adsorption isotherm.

Figure 3 .
Figure 3. Variation of the corrosion rate (a) and protection efficiency (b) with DAMP concentration for copper in 1.0 M HCl and 1.0 M H 2 SO 4 at 25 °C.

( 3 )Figure 4 .
Figure 4. Variation of the corrosion rate (a) and protection efficiency (b) with time of immersion for copper samples in 1.0 M HCl at 25 °C.

Figure 5 .
Figure 5. Variation of the OCP as a function of time recorded for copper in 1.0 M H 2 SO 4 (a) and 1.0 M HCl (b) solutions without (blank) and with DAMP at 25 °C.

Figure 6 .
Figure 6.Polarization curves of copper in 1.0 M H 2 SO 4 (a) and 1.0 M HCl (b) solutions without (blank) and with DAMP at a scan rate of 0.125 mV/s and at 25 °C.

Figure 7 .
Figure 7. Nyquist curves of copper in 1.0 M H 2 SO 4 (a) and 1.0 M HCl (b) solutions without (blank) and with DAMP compound at the corrosion potential and at 25 °C, the equivalent circuit insert in Fig. 7a.

Figure 9 .
Figure 9. Distribution of charge density (a), and (b) Mulliken atomic charges calculated for DAMP molecule.

Figure 10 .
Figure 10.(a) Arrhenius and (b) Eyring-Polanyi plots for copper corrosion in 1 M HCl and H 2 SO 4 in the absence and presence of DAMP.

Figure 11 .
Figure 11.Langmuir adsorption plots for DAMP on the surface of copper in 1.0 M HCl and 1.0 M H 2 SO 4 solutions based on data from weight loss.

Figure 12 .
Figure 12.FT-IR analysis of DAMP compound (a), and copper surface after polarization test in the corrosive solutions (1.0 M HCl, H 2 SO 4 ) containing 200 ppm DAMP.

7 .
The ability of DAMP inhibitor molecules to adsorb on copper's surface through their hetero-atoms (O, N, and P) is the main factor influencing how quickly copper specimens corrode in acidic solutions.8.The recently developed DAMP inhibitor, which is a cheap and effective corrosion barrier, may open up a contemporary research path for developing cutting edge ecological corrosion inhibition technologies.

Table 2 .
The effect of DAMP concentration on the corrosion rate and protection efficiency for copper in 1.0 M HCl and 1.0 M H 2 SO 4 .DAMP conc.(

Table 3 .
The effect of DAMP concentration on the polarization parameters for copper 1.0 M HCl and 1.0 M H 2 SO 4 .

Table 4 .
The effect of DAMP concentration on the EIS parameters for copper 1.0 M HCl and 1.0 M H 2 SO 4 .

Table 5 .
The corrosion rate and inhibition efficiency for copper after 24 h of immersion at various temperatures in 1 M HCl and H 2 SO 4 with and without 180 ppm of DAMP.

Table 6 .
The activation thermodynamic parameters in the presence and absence of DAMP.

Table 7 .
Mass percentage contents of elements on the copper samples before and after the addition of DAMP compound in 1.0 M HCl and 1.0 M H 2 SO 4 from EDX analysis.